package edu.gdkm.demo4;

public class StudentTest {
    public static void main(String[] args) {
        Student s1=new Student();
//        s1.studentId="202200001";
//        s1.name = "张三";
//        s1.cScore=89;
//        s1.computerScore = 98;
//        s1.englishScore = 100;
        s1.print();
        System.out.println(s1.average());
        Student s2 = new Student("202200002","李四",100,100,100);
        s2.print();
        System.out.println(s2.average());
        Student s3 = new Student("202200003","王五");
        s3.print();
        System.out.println(s3.average());
        System.out.println(s2);
        System.out.println(s3);
    }
}
